package com.gitee.qdbp.base.shiro.session;

import org.apache.shiro.session.Session;
import com.gitee.qdbp.able.beans.Duration;

/**
 * 可设置过期时间的CachingRealm
 *
 * @author zhaohuihua
 * @version 180419
 */
public interface VolatileCachingManager {

    /** 设置认证信息和授权信息的过期时间 **/
    void expire(Session session, Duration duration);

}
